package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.utils.StringUtils;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.base.BaseEntity;

import java.util.Date;
import java.util.UUID;

/**
 * 广告表 adverinfo
 * 
 * @author chengenjiang
 * @date 2019-07-16
 */
public class Adverinfo extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 广告信息ID */
	@Excel(name = "广告信息ID")
	private Integer advertinfoId;
	/** 广告标题 */
	@Excel(name = "广告标题")
	private String biaoTi;
	/** 广告链接 */
	@Excel(name = "广告链接")
	private String lianJie;
	/** 显示顺序 */
	@Excel(name = "显示顺序")
	private Integer shunXu;
	/** 广告状态 */
	@Excel(name = "广告状态")
	private String status;
	/** 创建时间 */
	@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss", type = Excel.Type.EXPORT)
	private Date createTime;
	/** 修改时间 */
	@Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss", type = Excel.Type.EXPORT)
	private Date updateTime;
	/** 扩展字段 */
	@Excel(name = "扩展字段")
	private String attribute;
	/** 广告图片 */
	private String imgPath;


	public void setAdvertinfoId(Integer advertinfoId) 
	{
		this.advertinfoId = advertinfoId;
	}

	public Integer getAdvertinfoId() 
	{
		return advertinfoId;
	}
	public void setBiaoTi(String biaoTi) 
	{
		this.biaoTi = biaoTi;
	}

	public String getBiaoTi() 
	{
		return biaoTi;
	}
	public void setLianJie(String lianJie) 
	{
		this.lianJie = lianJie;
	}

	public String getLianJie() 
	{
		return lianJie;
	}
	public void setShunXu(Integer shunXu) 
	{
		this.shunXu = shunXu;
	}

	public Integer getShunXu() 
	{
		return shunXu;
	}
	public void setStatus(String status)
	{
		this.status = status;
	}

	public String getStatus()
	{
		return status;
	}



	public void setAttribute(String attribute)
	{
		this.attribute = attribute;
	}

	public String getAttribute() 
	{
		return attribute;
	}
	@Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("advertinfoId", getAdvertinfoId())
            .append("biaoTi", getBiaoTi())
            .append("lianJie", getLianJie())
            .append("shunXu", getShunXu())
            .append("status", getStatus())
			.append("imgPath", getImgPath())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("attribute", getAttribute())
            .toString();
    }


	public Date getCreateTime() {
		return createTime;
	}


	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}


	public Date getUpdateTime() {
		return updateTime;
	}


	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}


	public String getImgPath() {
		return imgPath;
	}

	public void setImgPath(String imgPath) {
		this.imgPath = imgPath;
	}
}
